﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;

//namespace Kjs.Report.Common
//{
//    /// <summary>
//    ///  Web.config配置文件帮助类
//    /// </summary>
//    public class ConfigHelper
//    {
//        /// <summary>
//        /// 获取配置文件AppSettings节点key值
//        /// </summary>
//        /// <param name="key"></param>
//        /// <returns></returns>
//        public static string GetAppSettings(string key)
//        {
//            return ConfigurationManager.AppSettings[key].ToString();
//        }

//        /// <summary>
//        /// 获取配置文件ConnectionStrings节点name值
//        /// </summary>
//        /// <param name="name"></param>
//        /// <returns></returns>
//        public static string GetConnectionStrings(string name)
//        {
//            return ConfigurationManager.ConnectionStrings[name].ToString();
//        }
//    }
//}
  